package com.ruoyi.basicsys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼栋管理对象 basic_building
 * 
 * @author ruoyi
 * @date 2024-07-25
 */
public class BasicBuilding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 楼栋id */
    private Long id;

    /** 楼栋名字 */
    @Excel(name = "楼栋名字")
    private String buildingName;

    /** 小区id */
    @Excel(name = "小区id")
    private Long communityId;

    /** 小区名字 */
    @Excel(name = "小区名字")
    private String communityName;

    /** 状态分三种：0表示未检测；1表示检测中；2表示停止检测 */
    @Excel(name = "状态分三种：0表示未检测；1表示检测中；2表示停止检测")
    private Long buildingStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBuildingName(String buildingName) 
    {
        this.buildingName = buildingName;
    }

    public String getBuildingName() 
    {
        return buildingName;
    }
    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }
    public void setCommunityName(String communityName) 
    {
        this.communityName = communityName;
    }

    public String getCommunityName() 
    {
        return communityName;
    }
    public void setBuildingStatus(Long buildingStatus) 
    {
        this.buildingStatus = buildingStatus;
    }

    public Long getBuildingStatus() 
    {
        return buildingStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("buildingName", getBuildingName())
            .append("communityId", getCommunityId())
            .append("communityName", getCommunityName())
            .append("buildingStatus", getBuildingStatus())
            .toString();
    }
}
